package com.foruo.teach.foruoteach.controller;

import com.foruo.teach.foruoteach.entity.TeachInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TeachController {

    @GetMapping("/get")
    public Object get(){
        TeachInfo info = new TeachInfo();
        info.setId("1");
        info.setName("高元-5");
        info.setPhone("123123123");
        info.setSex("男");
        System.out.println(System.currentTimeMillis());
        return info;
    }

}
